package inheritance;

public class Rect extends Shape{
    public Rect(int a, int b) {
        super(a, b);
    }
    @Override
    public int getPerimeter(){
        return (a + b) * 2;
    }
}
